// uni相关的class

uni-page-body {
  height: 100%;
}

:deep(.uni-list-item) {
  &.required {
    uni-text.uni-list-item__content-title::before,
    .pre-header::before {
      content: '*';
      color: red;
      margin-right: 4px;
    }
  }
}

#app {
  .uni-list-item__container {
    // padding: 14px 15px;
    padding-top: 14px;
    padding-bottom: 14px;

    .uni-list-item__content-title {
      font-size: 20px;
    }
    .uni-list-item__extra-text {
      font-size: 16px;
    }
    // 有右侧箭头时，防止左侧文件被右侧文字淹没(2024年12月25日13:59:41)
    &.container--right {
      .uni-list-item__content {
        flex-shrink: 0;
        max-width: 50%;
        flex: none;
      }
      .uni-list-item__extra {
        flex: 1;
      }
    }
  }

  :deep(.files-box) {
    uni-view {
      .uni-swipe {
        box-shadow: 0 -1px 0 0 #e5e5e5;

        &:last-child {
          box-shadow: 0 1px 0 0 #e5e5e5, 0 -1px 0 0 #e5e5e5;
        }
      }
    }
  }

  // 打包成web版本，用h5+的location.href跳转时，主区域显示不出来 2025年01月03日13:59:08
  .uni-popup {
    z-index: 100;
    uni-view[name='mask'] {
      z-index: 999;
      position: fixed;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.5);
    }
    uni-view[name='content'] {
      z-index: 1000;
      min-height: 50vh;
      position: fixed;
      bottom: 0;
      width: 100%;
      left: 0;
      right: 0;
    }

    &.webview_dialog_popup {
      uni-view[name='content'] {
        position: fixed;
        display: flex;
        flex-direction: column;
        inset: 0;
        justify-content: center;
        align-items: center;
      }
    }
  }
}
